package com.ruoyi.oss.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 吴倩芸
 * @create 2022/6/12
 **/
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "oss")
public class OSSProperties {

    /**
     * 域名
     */
    private String endpoint;

    /**
     * 前缀
     */
    private String prefix;

    private String accessKey;

    private String secretKey;

    /**
     * 存储桶名
     */
    private String bucketName;

    /**
     * 存储区域
     */
    private String region;

}
